home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / findutils.postinst < prev    next >
Encoding:
Text File  |  2007-03-05  |  721 b   |  26 lines

  1. #! /bin/sh
  2. set -e
  3.  
  4. if [ "$1" = "configure" ]; then
  5.   # up to 4.1.7-2 locatedb was in non-FHS-dir /var/lib/locate
  6.   if dpkg --compare-versions "$2" le-nl "4.1.7-2" ; then
  7.     if [ -f /var/lib/locate/locatedb ]; then
  8.       mv /var/lib/locate/locatedb /var/cache/locate/
  9.       rmdir /var/lib/locate 2>/dev/null || true
  10.     fi
  11.   fi
  12. fi
  13.  
  14. # Automatically added by dh_installdocs
  15. if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then
  16.     install-docs -i /usr/share/doc-base/findutils
  17. fi
  18. # End automatically added section
  19. # Automatically added by dh_installinfo
  20. if [ "$1" = "configure" ]; then
  21.     install-info --quiet /usr/share/info/find.info
  22. fi
  23. # End automatically added section
  24.  
  25. # vim:tabstop=2:expandtab:shiftwidth=2
  26.